package com.qy.bean ;

import java.util.Date;
import java.io.Serializable;

/**
* u_drive_record
* @author zhangwenlong
* @date   Tue Jan 30 11:52:37 GMT+08:00 2018
*/ 
public class DriveRecord extends DataObject  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**  */
	private int id;

	/** 司机接单表id */
	private int orderDriverId;

	/** 坐标 */
	private String site;

	/** 创建日期 */
	private Date createTime;

	public void setId(int id) {
		if (this.id != id) {
			this.id = id;
			setOp(Option.Update);
		}
	}

	public int getId() {
		return id;
	}

	public void setOrderDriverId(int orderDriverId) {
		if (this.orderDriverId != orderDriverId) {
			this.orderDriverId = orderDriverId;
			setOp(Option.Update);
		}
	}

	public int getOrderDriverId() {
		return orderDriverId;
	}

	public void setSite(String site) {
		if(this.site == null || !this.site.equals(site)) {
			this.site = site;
			setOp(Option.Update);
		}
	}

	public String getSite() {
		return site;
	}

	public void setCreateTime(Date createTime) {
		if(this.createTime == null || !this.createTime.equals(createTime)) {
			this.createTime = createTime;
			setOp(Option.Update);
		}
	}

	public Date getCreateTime() {
		return createTime;
	}

}

